wayland: Better error on eglGetDisplay() failure
authorBenjamin Otte <otte@redhat.com>
Tue, 24 Aug 2021 19:27:49 +0000 (21:27 +0200)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Tue, 24 Aug 2021 19:55:22 +0000 (19:55 +0000)
commit95931a7e6c5c3e8cf9d410863c4d7b58e020af1b
treed4e695662a53733a2750d25ff5a17ab478f71274
parentd9daaed43fbbf47a0afd65bd636d3e4e50e7a33b
wayland: Better error on eglGetDisplay() failure

Goals:

1. Provide as much information as possible in the error message, so
   users can try to fix their system themselves.
2. Try to formulate the error message in a way that explains that this
   is not something GTK can fix, but a lower layer problem.

Related: #4193
gdk/wayland/gdkglcontext-wayland.c